package com.zhuozhou.jdyc.main.user.activity;

import android.os.Bundle;

import com.zhuozhou.jdyc.R;
import com.zhuozhou.jdyc.base.BaseActivity;
import com.zhuozhou.jdyc.databinding.ModifyPasswordActivityBinding;
import com.zhuozhou.jdyc.main.user.viewmodel.UserViewModel;

/**
 * Created by fz on 2020/12/25 13:48
 * describe:修改密码
 */
public class ModifyPasswordActivity extends BaseActivity<UserViewModel, ModifyPasswordActivityBinding> {
    @Override
    protected int getLayoutId() {
        return R.layout.modify_password_activity;
    }

    @Override
    public String setTitleBar() {
        return "修改密码";
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData(Bundle bundle) {

    }

//    @Override
//    public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {
//
//    }
//
//    @Override
//    public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
//        //输入框、按钮联动，当所有输入框不为空时按钮才可以点击
//        if (StringUtil.isEmpty(editOldPassword.getText().toString()) ||
//                StringUtil.isEmpty(editNewPassword.getText().toString()) ||
//                StringUtil.isEmpty(editNewPasswordAgain.getText().toString()) ||
//                !editNewPassword.getText().toString().equals(editNewPasswordAgain.getText().toString())) {
//            modifyPasswordSubmit.setSelected(false);
//        } else {
//            modifyPasswordSubmit.setSelected(true);
//        }
//    }
//
//    @Override
//    public void afterTextChanged(Editable editable) {
//
//    }


}
